﻿@model kTudu.Web.Models.LoginModel
@{
    ViewBag.Title = "Iniciar Sesión";
}

<h2>Iniciar sesión</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js") type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js") type="text/javascript"></script>

@using (Html.BeginForm())
{
    <img src="@Url.Content("~/Content/images/logo.jpg")" alt="kTudu" id="logo_login" />  
    
    @Html.LabelFor(x => x.UserName)
    @Html.TextBoxFor(x => x.UserName)

    @Html.LabelFor(x => x.Password)
    @Html.PasswordFor(x => x.Password)
    
    @Html.CheckBoxFor(x => x.Recordar)
    @Html.LabelFor(x => x.Recordar)

    <input type="submit" />

    @Html.ActionLink("Olvide mi contraseña", "Index", "ForgotPassword")
    @Html.ActionLink("Registrarse", "Index", "Register")
                                    
    
    @Html.ValidationSummary()
}